package com.yitao.client.model.order;

import com.skipper.base.data.domain.BaseEntity;

import javax.persistence.*;
import java.util.Date;

/**
 *
 * 商城订单退款/收货详情表(保存缺货退款信息) 实体映射类
 * @Date: 2019/5/14 15:53
 * @Author: Kien
 */
@Entity
@Table(name="t_mall_order_refund_detail")
public class MallOrderRefundDetailModel extends BaseEntity {

    /**
     *  主键
     *  @mbggenerated
     */
    @Id
    @Column(name = "id", columnDefinition = "BIGINT")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;

    /**
     *  关联的订单id
     *  @mbggenerated
     */
    private Long refundId;

    /**
     *  订单详情id
     *  @mbggenerated
     */
    private Long orderDetailId;

    /**
     *  商品数量
     *  @mbggenerated
     */
    private Integer quantity;

    /**
     *  创建人
     *  @mbggenerated
     */
    private Long createBy;

    /**
     *  创建时间
     *  @mbggenerated
     */
    private Date createTime;

    public Long getId() {return id;}

    public void setId(Long id) {this.id = id;}

    public Long getRefundId() {return refundId;}

    public void setRefundId(Long refundId) {this.refundId = refundId;}

    public Long getOrderDetailId() {return orderDetailId;}

    public void setOrderDetailId(Long orderDetailId) {this.orderDetailId = orderDetailId;}

    public Integer getQuantity() {return quantity;}

    public void setQuantity(Integer quantity) {this.quantity = quantity;}

    public Long getCreateBy() {return createBy;}

    public void setCreateBy(Long createBy) {this.createBy = createBy;}

    public Date getCreateTime() {return createTime;}

    public void setCreateTime(Date createTime) {this.createTime = createTime;}
}
